package com.lfy.auth.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.lfy.auth.domain.entity.UserEntity;
import com.lfy.auth.domain.req.LoginReq;
import com.lfy.auth.domain.req.RegReq;
import com.lfy.auth.domain.resp.LoginResp;
import com.lfy.common.result.R;

import javax.servlet.http.HttpServletResponse;

/**
* @author 吕飞扬
* @description 针对表【user】的数据库操作Service
* @createDate 2023-10-12 18:59:53
*/
public interface UserService extends IService<UserEntity> {

    R<Void> reg(RegReq regReq);

    R<Void> activation(String code);

    R<LoginResp> login(LoginReq loginReq, HttpServletResponse response);
}
